using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls;

namespace Sedna.Core.Controller.Configurations
{
    /// <summary>
    /// Configuration used to set properies of control used to enter serial number or some number consisted of prefix, digits and postfix
    /// </summary>
    public interface ISerialControlConfiguration : IClientScriptingConfiguration
    {
        String PrefixBindPath
        {
            get;
        }

        String PrefixUnbindPath
        {
            get;
        }

        String DigitsBindPath
        {
            get;
        }

        String DigitsUnbindPath
        {
            get;
        }

        IDataTranslator PrefixTranslator
        {
            get;
        }

        IDataTranslator PrefixParser
        {
            get;
        }

        /// <summary>
        /// Restriction for prefix textbox control
        /// </summary>
        int MaxPrefixLength
        {
            get;
        }

        /// <summary>
        /// Restriction for digits textbox control
        /// </summary>
        int MaxDigitsLength
        {
            get;
        }

        bool IsPrefixChangeable
        {
            get;
        }


    }
}
